
from django.urls import path
from . import views

urlpatterns = [
    path('orders', views.order_list, name='order_list'),
    path('orders/<int:pk>', views.order_detail, name='order_detail'),
    path('orders/create', views.order_create, name='order_create'),
    path('orders/<int:pk>/update', views.order_update, name='order_update'),
    path('orders/<int:pk>/delete', views.order_delete, name='order_delete'),

    path('wechat/pay/create', views.generate_order, name='generate_order'),
    path('wechat/pay', views.wechat_notify, name='wechat_notify'),
]